
import menuData from '../../../common/mock/cookbook-category.json'//调用数据
export default {
  data: {
    sliderText: '分类',//设置分类
    type: 'category',
    menuData: menuData.data
  },

  handleSliderClick(text, type) {
    this.sliderText = text//跳转设置
    this.type = type
  }
}